package com.sbtr.business.calibration.service;

import com.sbtr.common.PageDto;
import com.sbtr.open.calibration.dto.CalibrationCountByFinisherDto;
import com.sbtr.open.calibration.dto.CalibrationSearchByDetailsDto;
import com.sbtr.open.calibration.dto.CalibrationTxtEntityDto;

import java.util.List;

public interface ICalibrationTxtEntityService {

    boolean batchSave(List<CalibrationTxtEntityDto> dtos);

    List<CalibrationTxtEntityDto> searchHasCalibratedByIds(Long id);

    List<CalibrationTxtEntityDto> searchHasCalibratedByIdsAndFinisher(Long id,
                                                                      String finisher);

    PageDto<CalibrationTxtEntityDto> getTxtEntityCalibrate(CalibrationSearchByDetailsDto dto);

    List<CalibrationCountByFinisherDto> countTaskByCalibrationIds(Long id);

}
